package ModelImplementation

import "time"

type ServiceCharge struct {
	itsDate time.Time
	itsAmount float64
}

func NewServiceCharge(date time.Time, amount float64)*ServiceCharge{
	return &ServiceCharge{date, amount}
}

func (s *ServiceCharge)GetAmount()float64{
	return s.itsAmount
}